package kuaishou

import (
	"net/http"
)

// 添加自定义属性值请求
type ItemPropCustomValueAddRequest struct {
	PropId     int      `json:"propId"`
	PropValues []string `json:"propValues"`
}

// 添加自定义属性值响应
type ItemPropCustomValueAddResponse struct {
	BaseResponse
	Data struct {
		PropValues []struct {
			PropId        int    `json:"propId"`
			PropValueId   int    `json:"propValueId"`
			PropValueName string `json:"propValueName"`
		} `json:"propValues"`
	} `json:"data"`
}

func (r *ItemPropCustomValueAddRequest) RequestMethod() string {
	return http.MethodPost
}

func (r *ItemPropCustomValueAddRequest) RequestPath() string {
	return "/open/item/prop/custom/value/add"
}

func (r *ItemPropCustomValueAddRequest) ApiName() string {
	return "open.item.prop.custom.value.add"
}
